package com.reebake.ideal.infra.client;

import com.reebake.ideal.infra.entity.ContentClobDTO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface ContentClobClient {

    @PostMapping("/save-or-update")
    public String saveOrUpdate(@RequestBody ContentClobDTO contentClobDTO);

    @GetMapping("/query-by-id/{contentClobId}")
    public ContentClobDTO queryById(@PathVariable String contentClobId);

    @PostMapping("remove-by-ids")
    public void removeByIds(@RequestBody String... ids);

}
